﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json.Serialization;

namespace Md.Demo.Entity.MongoModels
{
    public class InterviewRecord : DocumentBase
    {
        public string StaffId { get; set; }
        public string StaffName { get; set; }
        public string JobId { get; set; }
        [BsonDateTimeOptions(Kind = DateTimeKind.Local)]
        public DateTime InterviewTime { get; set; }
        public string InterviewerId { get; set; }
        public string Appraise { get; set; }
        public int Score { get; set; }
        public InterviewStatusEunm InterviewStatus { get; set; }

    }
    public enum InterviewStatusEunm
    {
        待定 = 1,
        通过 = 2,
        淘汰 = 3,
    }
}
